package cn.rkylin.oms.goods.service;

import java.util.List;
import java.util.Map;

import cn.rkylin.oms.category.vo.GoodsCategoryInfoVO;
import cn.rkylin.oms.goods.vo.GoodsCategoryVO;

public interface IGoodsCategoryService {
    /**
     * 取得商品分类
     * @param goodsInfo
     * @return
     * @throws Exception
     */
    public List<GoodsCategoryVO> getAllData(String entId) throws Exception;
    
    public Map<String,Object> modifyData(GoodsCategoryInfoVO goodsCategoryInfoVO,Map<String,String> map) throws Exception;
    
    public Map<String,Object> deleteData(String key) throws Exception;

    public Map<String,Object> downLoadGoodsCategory(String entId,String mdm_code) throws Exception;
    
    public Map<String,Object> changeParentKey(String key,String newParentkey) throws Exception;

    public Object receiveGoodsCategory(String json,String type, String entId) throws Exception ;

    public GoodsCategoryVO getGoodsCategoryVO(String entId,String id) throws Exception;
    
}
